home *** CD-ROM | disk | FTP | other *** search
/ Champak 114 / Vol 114.iso / games / ophel001.swf / scripts / DefineButton2_631 / BUTTONCONDACTION on(release).as
Encoding:
Text File  |  2010-08-12  |  590 b   |  28 lines

  1. on(release){
  2.    if(eval("/Variables:RoueHaut") == true and eval("/Variables:RoueBas") == true)
  3.    {
  4.       loadVariablesNum("/arcane/tracking/tracking.html?episode=7&stage=8",0);
  5.       set("/Variables:PuzzleFontaineOK",true);
  6.       tellTarget(_root.CacheStatue)
  7.       {
  8.          gotoAndStop("Stop");
  9.       }
  10.       tellTarget(_root.RoueBas)
  11.       {
  12.          gotoAndStop("Stop");
  13.       }
  14.       tellTarget(_root.Escalier)
  15.       {
  16.          play();
  17.       }
  18.       prevFrame();
  19.    }
  20.    else
  21.    {
  22.       tellTarget(_root.HsNeg)
  23.       {
  24.          nextFrame();
  25.       }
  26.    }
  27. }
  28.